
#ifndef SDLBaseH
#define SDLBaseH

#include "Constants.h"



/* A classe SDLBase sera responsavel por encapsular e facilitar algumas chamadas a funcoes da SDL e SDL_image,
 * como inicializacao, carregar imagens e atualizar a tela.
 */
class SDLBase
{
public:
	static SDL_Surface *screen;

	static SDL_Surface* getScreen();
	static SDL_Surface* loadImage(string);
	static void inicializaSDL();
	static void renderSurface(SDL_Surface*, SDL_Rect*, SDL_Rect*);
	static void atualizarTela();
	static void drawLine(int, int, int, int, int, int);
	static SDL_Surface* clip(SDL_Surface*, SDL_Rect*);
	static SDL_Surface* rotoZoom(SDL_Surface*, float, float, float);
};

#endif
